﻿namespace QLPhongKham.Report
{
    using DevExpress.Utils;
    using DevExpress.XtraPrinting;
    using DevExpress.XtraReports.UI;
    using System;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Drawing.Printing;

    public class repx_vp_dmvp : XtraReport
    {
        private BottomMarginBand BottomMargin;
        private IContainer components = null;
        private DetailBand Detail;
        private TopMarginBand TopMargin;
        private XRLabel xrLabel1;
        private XRLabel xrLabel2;
        private XRLabel xrLabel3;
        private XRLabel xrLabel4;
        private XRLabel xrLabel5;
        private XRLabel xrLabel6;
        private XRLabel xrLabel7;
        private XRLabel xrLabel8;
        private XRLabel xrLabel9;

        public repx_vp_dmvp()
        {
            this.InitializeComponent();
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        public void f_load(DataSet ds)
        {
            base.DataSource = ds;
        }

        private void InitializeComponent()
        {
            this.Detail = new DetailBand();
            this.TopMargin = new TopMarginBand();
            this.BottomMargin = new BottomMarginBand();
            this.xrLabel1 = new XRLabel();
            this.xrLabel2 = new XRLabel();
            this.xrLabel3 = new XRLabel();
            this.xrLabel4 = new XRLabel();
            this.xrLabel5 = new XRLabel();
            this.xrLabel6 = new XRLabel();
            this.xrLabel7 = new XRLabel();
            this.xrLabel8 = new XRLabel();
            this.xrLabel9 = new XRLabel();
            this.BeginInit();
            this.Detail.Controls.AddRange(new XRControl[] { this.xrLabel4, this.xrLabel3, this.xrLabel2, this.xrLabel1 });
            this.Detail.HeightF = 23f;
            this.Detail.Name = "Detail";
            this.Detail.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.Detail.TextAlignment = TextAlignment.TopLeft;
            this.TopMargin.Controls.AddRange(new XRControl[] { this.xrLabel9, this.xrLabel8, this.xrLabel7, this.xrLabel6, this.xrLabel5 });
            this.TopMargin.HeightF = 73.33333f;
            this.TopMargin.Name = "TopMargin";
            this.TopMargin.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.TopMargin.TextAlignment = TextAlignment.TopLeft;
            this.BottomMargin.Name = "BottomMargin";
            this.BottomMargin.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.BottomMargin.TextAlignment = TextAlignment.TopLeft;
            this.xrLabel1.Borders = BorderSide.Bottom | BorderSide.Right | BorderSide.Left;
            this.xrLabel1.DataBindings.AddRange(new XRBinding[] { new XRBinding("Text", null, "Table.ma") });
            this.xrLabel1.LocationFloat = new PointFloat(0f, 0f);
            this.xrLabel1.Name = "xrLabel1";
            this.xrLabel1.Padding = new PaddingInfo(2, 2, 0, 0, 96f);
            this.xrLabel1.SizeF = new SizeF(100f, 23f);
            this.xrLabel1.StylePriority.UseBorders = false;
            this.xrLabel1.Text = "xrLabel1";
            this.xrLabel2.Borders = BorderSide.Bottom | BorderSide.Right;
            this.xrLabel2.DataBindings.AddRange(new XRBinding[] { new XRBinding("Text", null, "Table.ten") });
            this.xrLabel2.LocationFloat = new PointFloat(100f, 0f);
            this.xrLabel2.Name = "xrLabel2";
            this.xrLabel2.Padding = new PaddingInfo(2, 2, 0, 0, 96f);
            this.xrLabel2.SizeF = new SizeF(429.1666f, 23f);
            this.xrLabel2.StylePriority.UseBorders = false;
            this.xrLabel2.Text = "xrLabel2";
            this.xrLabel3.Borders = BorderSide.Bottom | BorderSide.Right;
            this.xrLabel3.DataBindings.AddRange(new XRBinding[] { new XRBinding("Text", null, "Table.stt") });
            this.xrLabel3.LocationFloat = new PointFloat(594.7916f, 0f);
            this.xrLabel3.Name = "xrLabel3";
            this.xrLabel3.Padding = new PaddingInfo(2, 2, 0, 0, 96f);
            this.xrLabel3.SizeF = new SizeF(55.20837f, 23f);
            this.xrLabel3.StylePriority.UseBorders = false;
            this.xrLabel3.Text = "xrLabel3";
            this.xrLabel4.Borders = BorderSide.Bottom | BorderSide.Right;
            this.xrLabel4.DataBindings.AddRange(new XRBinding[] { new XRBinding("Text", null, "Table.dvt") });
            this.xrLabel4.LocationFloat = new PointFloat(529.1666f, 0f);
            this.xrLabel4.Name = "xrLabel4";
            this.xrLabel4.Padding = new PaddingInfo(2, 2, 0, 0, 96f);
            this.xrLabel4.SizeF = new SizeF(65.625f, 23f);
            this.xrLabel4.StylePriority.UseBorders = false;
            this.xrLabel4.Text = "xrLabel4";
            this.xrLabel5.Font = new Font("Times New Roman", 18f, FontStyle.Bold);
            this.xrLabel5.LocationFloat = new PointFloat(48.95833f, 0f);
            this.xrLabel5.Name = "xrLabel5";
            this.xrLabel5.Padding = new PaddingInfo(2, 2, 0, 0, 96f);
            this.xrLabel5.SizeF = new SizeF(545.8334f, 42.08334f);
            this.xrLabel5.StylePriority.UseFont = false;
            this.xrLabel5.StylePriority.UseTextAlignment = false;
            this.xrLabel5.Text = "Danh mục viện ph\x00ed";
            this.xrLabel5.TextAlignment = TextAlignment.TopCenter;
            this.xrLabel6.Borders = BorderSide.All;
            this.xrLabel6.Font = new Font("Times New Roman", 10f, FontStyle.Bold);
            this.xrLabel6.LocationFloat = new PointFloat(0f, 50.33332f);
            this.xrLabel6.Name = "xrLabel6";
            this.xrLabel6.Padding = new PaddingInfo(2, 2, 0, 0, 96f);
            this.xrLabel6.SizeF = new SizeF(100f, 23f);
            this.xrLabel6.StylePriority.UseBorders = false;
            this.xrLabel6.StylePriority.UseFont = false;
            this.xrLabel6.Text = "M\x00e3 số";
            this.xrLabel7.Borders = BorderSide.Bottom | BorderSide.Right | BorderSide.Top;
            this.xrLabel7.Font = new Font("Times New Roman", 10f, FontStyle.Bold);
            this.xrLabel7.LocationFloat = new PointFloat(100f, 50.33332f);
            this.xrLabel7.Name = "xrLabel7";
            this.xrLabel7.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel7.SizeF = new SizeF(429.1666f, 23f);
            this.xrLabel7.StylePriority.UseBorders = false;
            this.xrLabel7.StylePriority.UseFont = false;
            this.xrLabel7.Text = "T\x00ean viện ph\x00ed";
            this.xrLabel8.Borders = BorderSide.Bottom | BorderSide.Right | BorderSide.Top;
            this.xrLabel8.Font = new Font("Times New Roman", 10f, FontStyle.Bold);
            this.xrLabel8.LocationFloat = new PointFloat(529.1666f, 50.33332f);
            this.xrLabel8.Name = "xrLabel8";
            this.xrLabel8.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel8.SizeF = new SizeF(65.62506f, 23f);
            this.xrLabel8.StylePriority.UseBorders = false;
            this.xrLabel8.StylePriority.UseFont = false;
            this.xrLabel8.Text = "ĐVT";
            this.xrLabel9.Borders = BorderSide.Bottom | BorderSide.Right | BorderSide.Top;
            this.xrLabel9.Font = new Font("Times New Roman", 10f, FontStyle.Bold);
            this.xrLabel9.LocationFloat = new PointFloat(594.7917f, 50.33332f);
            this.xrLabel9.Name = "xrLabel9";
            this.xrLabel9.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel9.SizeF = new SizeF(55.20831f, 23f);
            this.xrLabel9.StylePriority.UseBorders = false;
            this.xrLabel9.StylePriority.UseFont = false;
            this.xrLabel9.Text = "STT";
            base.Bands.AddRange(new Band[] { this.Detail, this.TopMargin, this.BottomMargin });
            base.Margins = new Margins(100, 100, 0x49, 100);
            base.Version = "12.2";
            this.XmlDataPath = @"F:\Project\phongmach_2012\QLPhongMach\QLPhongMach\bin\Debug\dataxml\v_dmvp.xml";
            this.EndInit();
        }
    }
}

